<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		
		<script>
			"use strict"
			
			var username = "kobe"
			console.log(username)
			
			function Person(name, age){
				this.name = name
				this.age = age
			}
			
			new Person("kobe", 39)
			
			var str = "NBA"
			eval("var str = 'CBA'; alert(str)")
			alert(str)
			
			// 运行没有错, 但是不符合严格语法
			var obj = {
				username: "kobe",
				username: "wade"
			}
		</script>
	</body>
</html>
